package com.xuruzi.demo.util;

import com.alibaba.fastjson.JSON;

/**
 * Created by xuruzi on 2020/3/27.
 */
public class BaseResponse {
    private String errcode;
    private String errmsg;
    public BaseResponse() {
    }

    public String getErrcode() {
        return this.errcode;
    }

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        String result = this.errmsg;
        return result;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public String toJsonString() {
        return JSON.toJSONString(this);
    }
}
